package rdc.simonalisa.util;

public class TableScriptGeneratorMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String tblName = "tbl_meas_gtw_ori_nc";

		//System.out.println("lenght tablename = " + tblName.length());
		if(tblName.length()>27){
			System.out.println("table name to long");
			return;
		}

		TableScriptGenerator tsg = new TableScriptGenerator();
		tsg.setTableName(tblName);

		String column = "CLLI	SWREL	RPTDATE	RPTIME	TZ	RPTTYPE	RPTPD	IVALDATE	IVALSTART	IVALEND	NUMENTIDS<cr><lf>	STATUS	NI	NC	GTTPFDPC	GTTUNTT	GTTPFDIC	GTTUNADR<cr><lf>																																																																																																																																																																																																																																														";
		tsg.parseColum(column);

		tsg.createTableScript();

	}

}
